<?php

namespace Modules\Common\Models\Validation;


/**
 *@property int $id
 *@property int $sid
 *@property int $eid
 *@property string $url
 *@property int $status
 *@property string $type
 *@property string $page_name
 *@property string $search_json
 *@property string $banner_json
 *@property string $recommend_json
 *@property string $paid_content_json
 *@property string $style_json
 *@property string $admin_user_id
 *@property string $created_at
 *@property string $updated_at
 *@property string $deleted_at
 */
trait RenovationsValidation
{


    public function createRules()
    {
         return [
            'rules' => [
                'url'=>'string',
                'status'=>'integer',
                'type'=>'string',
                'page_name'=>'string',
                'search_json'=>'string',
                'banner_json'=>'string',
                'recommend_json'=>'string',
                'paid_content_json'=>'string',
                'style_json'=>'string',
                'admin_user_id'=>'integer',
            ],
            'messages' => [
            ],
            'customAttributes' => [
            ]
        ];
    }

    public function updateRules()
    {
         return [
            'rules' => [
                'url'=>'string',
                'status'=>'integer',
                'type'=>'string',
                'page_name'=>'string',
                'search_json'=>'string',
                'banner_json'=>'string',
                'recommend_json'=>'string',
                'paid_content_json'=>'string',
                'style_json'=>'string',
                'admin_user_id'=>'integer',
            ],
            'messages' => [
            ],
            'customAttributes' => [
            ]
        ];
    }


}
